<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page contentType="text/html;charset=UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
	<link href="themes/css/ui.common.css"
			rel="stylesheet" type="text/css" />
		<link href="themes/css/ui.child.css"
			rel="stylesheet" type="text/css" />
		<link href="themes/css/ui.tips.css"
			rel="stylesheet" type="text/css" />
		<link 
			href="style/jquery_ui/jquery-ui-1.8.custom.css"
			rel="stylesheet" type="text/css" />
		<link id="skin_css" rel="stylesheet" type="text/css"
			href="themes/css/ui.c.blue.css"></link>
		<link rel="stylesheet"
			href="themes/default/pagination.css"
			type="text/css"></link>
		<script
			src="Scripts/jquery-1.4.1.min.js"
			type="text/javascript"></script>
		<script
			src="Scripts/jquery-ui-1.8.custom.min.js"
			type="text/javascript"></script>

		<script src="Scripts/ui.tips.js"
			type="text/javascript"></script>
		<script src="Scripts/ui.default.js "
			type="text/javascript" charset="UTF-8"></script>
					<script src="Scripts/ui.admincp.js"
			type="text/javascript" charset="UTF-8"></script>
		<script src="js/ui.editableObject.js"
			type="text/javascript"></script>
		<script src="js/goodsOrderHandler.js"
			type="text/javascript"></script>
		<script
			src="js/bussiness.goodsReturn.js"
			type="text/javascript"></script>
		<STYLE type="text/css">
		.editorArea {
			display: none;
		}
		</STYLE>
		<script type="text/javascript"
			src="Scripts/ui.dialogFormHelper.js"></script>
		<title>查询财务信息</title>
		<SCRIPT type="text/javascript">
			function search(){
				if($("#yearSelector").val() == 0 && $("#monthSelector").val() == ''){
						alert("警告：请至少选择年份。");
						$("#yearSelector").focus();
						return;
				}
				if($("#monthSelector").val() != ''){
					if($("#yearSelector").val() == 0){
						alert("警告：请选择年份。");
						$("#yearSelector").focus();
						return;
					}
				}
				location="accountInfo!query.action?searchMonth="+$("#monthSelector").val()+"&searchYear="+$("#yearSelector").val();
			}
		</SCRIPT>
	</head>

	<body>
	 <div class="PageChild_Title">
        <img src=" themes/images/default/icons/archives.png" class="PageChild_Tbtnpic" />
        <span class="PageChild_separate"></span><span class="PageChild_TbtnText">
            <h2>财务信息分析</h2>
        </span><span class="PageChild_separate"></span>
        <div id="marker" class="red-tips">
        </div>
        <div class="clear">
        </div>
    </div>
    		<div align="center">
			<div class="PageChild_Where">
				<table>
					<tr>
						<td>
						年份:<s:select id="yearSelector"   list="#{2011:'2011',2010:'2010'}" headerKey="0" headerValue="-请选择-" name="searchYear" theme="simple"></s:select>
						月份:<s:select id="monthSelector" list="#{1:'1月份',2:'2月份',3:'3月份',4:'4月份',5:'5月份',6:'6月份',7:'7月份',8:'8月份',9:'9月份',10:'10月份',11:'11月份',12:'12月份'}" listKey="key" listValue="value"  headerKey="" headerValue="-请选择-" name="searchMonth" theme="simple"></s:select>
						&nbsp;<button id="searchButton" class="o-btn" onclick="search()" >
						搜索
						</button>
						</td>
					</tr>
				</table>
			</div>
		</div>
		<!-- 列表栏开始 -->
		<div class="PageChild_List">
		<div align="center">
			<s:if test="imageUrl != null">
			<img src="${imageUrl}"></s:if>
			<s:if test="imageUrl1 != null">
			<img src="${imageUrl1}"></s:if>
		</div>
		</div>
	</body>
</html>
